package o;

import java.util.HashMap;
import java.util.Map;
import o.fig.e;

public class fid implements ffc {
    private Map<String, Object> mExplicitInjectMap = new HashMap();
    private boolean mFromExternal = false;
    private Map<String, Object> mImplicitInjectMap = new HashMap();
    private String mModuleName;

    public fid(String str) {
        this.mModuleName = str;
    }

    public String getModuleName() {
        return this.mModuleName;
    }

    public void add(Map<String, Object> map) {
        this.mExplicitInjectMap.putAll(map);
    }

    public void add(String str, fig o_fig) {
        if (o_fig.ˏ() == e.EXPLICIT_INJECT) {
            this.mExplicitInjectMap.put(str, o_fig.ˎ());
        } else {
            this.mImplicitInjectMap.put(str, o_fig.ˎ());
        }
    }

    public fig get(String str) {
        Object obj = this.mExplicitInjectMap.get(str);
        if (obj != null) {
            return new fig(e.EXPLICIT_INJECT, obj);
        }
        obj = this.mImplicitInjectMap.get(str);
        if (obj != null) {
            return new fig(e.IMPLICIT_INJECT, obj);
        }
        return null;
    }
}
